<html>
<head>
<style type="text/css">
h1 { margin: 0.5em }
</style>
</head>
<body>
    <h1>Html Heading</h1>
    <p>em margin.</p>
</body>
</html>